package com.jeomo.common.quartz.starter.jobs;

import com.jeomo.common.quartz.starter.service.BaseJob;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * <h3>springboot-quartz</h3>
 * <p></p>
 *
 * @author : 崔贺
 * @date : 2020-08-18
 **/
public class NewJob implements BaseJob {

    private static Logger log = LoggerFactory.getLogger(NewJob.class);

    public NewJob() {

    }

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        long time = System.nanoTime();
        log.info("Hello Job执行时间: " + time);
    }

}
